﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Automted_Bank_teller;
using NUnit.Framework;
namespace Project_Tester
{
    [TestFixture]
    class shuffle_test
    {
        [Test]
        public void update_shuffle()
        {
            shuflle_logic shuffles = new shuflle_logic();
            float MoneyToBeShuffled = 70F;
            bool ex = true;
            bool real;
            real = shuffles.update_shuffle(MoneyToBeShuffled);
            Assert.AreEqual(ex, real, "error value");
        }
        /*********/

        [Test]
        public void moneyafftershuffle()
        {
            shuflle_logic shuffle = new shuflle_logic();
            bool ex = true;
            bool real;
            real = shuffle.moneyafftershuffle();
            Assert.AreEqual(ex, real, "error in calculate shuffle money main client");
        }
        /**********/
        [Test]
        public void moneyafftershuffle_SentToClient()
        {
            shuflle_logic shufflee = new shuflle_logic();
            bool ex = true;
            bool real;
            real = shufflee.moneyafftershuffle_SentToClient();
            Assert.AreEqual(ex, real, "error in calculate shuffle money sent to client");
        }
        /********************/
        [Test]
        public void GetClient_Id()
        {
            shuflle_logic shuffle_ID = new shuflle_logic();
            string clnt_id = "2011";
            bool ex = true;
            bool real;
            real = shuffle_ID.GetClient_Id(clnt_id);
            Assert.AreEqual(ex, real, "reeor to get ID");
        }
    }
}
